home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / protocol / standard / misc / modem.lex / text0000.txt < prev   
Encoding:
Text File  |  1993-07-14  |  13.5 KB  |  282 lines

  1. [Since there don't seem to have been many Frequently Asked Questions recently
  2.  I'm thinking of changing the frequency of this posting to monthly instead
  3.  of fortnightly.  Comments are welcome.]
  4.  
  5. $Id: lexicon,v 0.2 90/12/03 18:27:26 em Exp $
  6.  
  7. Comp.dcom.modems lexicon, by Eamonn McManus <em@dce.ie>.  Contributions by:
  8.   Charles Bryant <ch@dce.ie>.
  9.   Ronald S H Khoo <ronald@robobar.co.uk>
  10.   David Lesher <wb8foz@mthvax.cs.miami.edu>
  11.   Chip Rosenthal <chip@chinacat.unicom.com>
  12.  
  13. This lexicon is intended to provide a basic introduction to terms used in
  14. modem technology.  In the interests of brevity, some technical details and
  15. qualifications are omitted.  Corrections, additions, and suggestions are
  16. welcome; send them to <em@dce.ie>.
  17.  
  18. This document is not copyrighted and may be used freely.
  19.  
  20. Words in angle brackets, like <this>, denote cross-references.  The
  21. following terms are defined or discussed here:
  22.   Asynchronous, AT commands, back channel, baud, Bell standards, bps,
  23.   carrier, CCITT, compression, CTS, DCD, DCE, DSR, DTE, DTMF, DTR, error
  24.   correction, external modem, fall back, flow control, four wire, full
  25.   duplex, half duplex, Hayes, internal modem, leased line, MNP, modulation,
  26.   parallel, PEP, PTT, RTS, serial, speed buffering, spoofing, synchronous,
  27.   Trailblazer, uucp, V series, window, XMODEM, XON/XOFF, ZMODEM.
  28.  
  29. ---
  30.  
  31. Asynchronous.  Used of a <serial> connection where each byte is sent
  32.   independently.  The start and end of a byte are indicated by separate bits
  33.   so each byte takes 10 bits to transmit.  See <synchronous>.
  34.  
  35. AT commands.  See <Hayes>.  (Unrelated to the PC/AT.)
  36.  
  37. Back channel.  A slow communications channel provided in the reverse
  38.   direction to the main channel, in <V.23> for example.
  39.  
  40. Baud.  A unit of communication speed, defined as signalling elements per
  41.   second.  Not the same as bps since sometimes each signalling element 
  42.   carries several bits.  (There is no such thing as a 9600 baud modem,
  43.   for instance.)  Terminals always have baud the same as bps.
  44.  
  45. Bell standards.  <Modulation> techniques used in North America.  Bell 103
  46.   is a 300bps standard; Bell 212 is 1200bps.  Not allowed in some European
  47.   countries.  See <V series>.
  48.  
  49. Bps.  Bits per second.  See <baud>.
  50.  
  51. Carrier.  Roughly speaking, the tones a modem sends when it is not sending
  52.   data.  Data are then variations in these tones.  When the remote modem
  53.   stops emitting carrier, the local modem can assume it has hung up, unless
  54.   the local modem is now the sending party in a <half duplex> connection.
  55.  
  56. CCITT.  A French acronym for the International Telegraph and Telephone
  57.   Consultative Committee, which sets standards for telephone communication
  58.   among other things.  Their standards (or `recommendations' as they have
  59.   it) are published every so often in a set of `fascicles', whose colour
  60.   varies with the year.  The current set is the `blue books' published in
  61.   1988.  The standards are copyrighted, so they are not available
  62.   electronically.  You should be able to find them at any good
  63.   engineering library.  See <V series>.
  64.  
  65. Compression.  Reduction of the size of data by exploiting redundancy.  Many
  66.   modern modems incorporate use <MNP5> or <V.42 bis> to compress data
  67.   before they are sent over the phone line.  For this to be effective, the
  68.   modem must be fed data at a higher speed than the phone line speed.
  69.  
  70.   Compression is most useful for interactive sessions in the modem.  If you
  71.   are sending files, compressing them on the computer before sending is
  72.   usually more effective.  In this case, make sure that the modem is not
  73.   also trying to compress, because already-compressed data will become
  74.   bigger if re-compressed.
  75.  
  76.   For compression to work, it is essential that the data are sent over an
  77.   error-free link.  Otherwise the modems could get out of sync and
  78.   hopelessly garble the data.  Since common <error correction> protocols are
  79.   <synchronous>, there is usually a throughput gain there as well.
  80.  
  81.   Manufacturer claims that MNP5 provides a 2:1 reduction in size, or that
  82.   V.42 bis provides 4:1, should be taken with a grain of salt.  They are
  83.   only true for suitable data.  See <MNP5> and <V.42 bis>.
  84.  
  85. CTS.  Clear to send.  A signal from <DCE> to <DTE>.  Typically used for
  86.   <flow control>.
  87.  
  88. DCD.  Data carrier detect.  A signal from <DCE> to <DTE>, indicating that a
  89.   <carrier> tone is being heard from the remote modem.  See <DSR>.
  90.  
  91. DCE.  Data circuit-terminating equipment.  Whatever is connected to a phone
  92.   line.  Effectively, a modem.
  93.  
  94. DSR.  Data set ready.  A signal from <DCE> to <DTE>, indicating that a
  95.   connection is in progress.  For <half duplex> connections, DSR will be on
  96.   during the entire session, while <CD> will be on only when the modem is
  97.   receiving.
  98.  
  99. DTE.  Data terminal equipment.  The computer or terminal that talks to a
  100.   modem locally.
  101.  
  102. DTMF.  Dual tone multiple frequency.  The standard method for tone dialling.
  103.  
  104. DTR.  Data terminal ready.  A signal from <DTE> to <DCE>.  Sometimes used
  105.   for <flow control>, though <RTS> is more usual nowadays.  Typically,
  106.   dropping DTR will cause the modem to hang up.
  107.  
  108. Error correction.  Communication between the modems to ensure that the data
  109.   sent by one end are the same as those received by the other, even in the
  110.   presence of noise on the line.  Typically this is done by adding
  111.   checksums to the data.  If the received data don't match their checksum
  112.   the receiving modem asks for them to be sent again.
  113.  
  114.   Like <compression>, error correction is most useful for interactive use.
  115.   When sending files, it is generally best to let the computers at each end
  116.   do the correction, using a protocol like Kermit or <uucp>.  However, the
  117.   ability of <MNP4> and <V.42> to send data <synchronously> may make it
  118.   worthwhile to use them.  See also <spoofing>.
  119.  
  120. External modem.  See <internal modem>.
  121.  
  122. Fall back.  The ability of a modem to operate at a lower speed than its
  123.   maximum, used either for compatibility with a different type of modem
  124.   (e.g. <V.22 bis> can fall back to <V.22>) or to reduce the number of
  125.   errors over a link that cannot carry the fastest speed.
  126.  
  127. Flow control.  Ensuring that a unit, whether modem or computer, is not
  128.   supplied with more data than it can cope with.  The unit must have some
  129.   way to signal to the data source to stop sending.  Ideally, every unit on
  130.   the communication path should have a way to manage flow control with its
  131.   peers; otherwise if available buffer space is exceeded some data may be
  132.   lost.
  133.  
  134.   Between <DTE> and <DCE> the possibilities are <RTS>/<CTS> and <XON/XOFF>.
  135.   Between two <DCE>s <XON/XOFF> is the only possibility.  However, if a
  136.   protocol such as <MNP> is being run between the modems, this will
  137.   contain provision for flow control.  If you can guarantee that the <DTE>s
  138.   will always be able to accept data, you should not need flow control
  139.   between the <DCE>s.
  140.  
  141. Four wire.  A <leased line> with separate connections for transmitting data
  142.   in each direction.
  143.  
  144. Full duplex.  Able to send data in both directions at once.
  145.  
  146. Half duplex.  Able to send data in only one direction at a time.
  147.  
  148. Hayes.  Modem manufacturer.  The `Hayes command set' is supported by most
  149.   modern modems.  Hayes commands look like ATD1234 (dial 1234) or ATA
  150.   (answer the phone).  The commands for simple things like this are fairly
  151.   standard, but more complex things tend to be manufacturer-specific.  A
  152.   <CCITT> standard for Hayes commands is in preparation.
  153.  
  154. Internal modem.  A modem card that slots into your computer, as opposed to
  155.   an external modem, which is a separate unit.  Internal modems are usually
  156.   cheaper but they have some disadvantages.  An external modem can be used
  157.   with any computer; it will have diagnostic lights to see what is going
  158.   on; and it means the phone line is further from your PC and so less likely
  159.   to conduct lightning strikes into it.
  160.  
  161. Leased line.  A permanent point-to-point connection rented from the phone
  162.   company.
  163.  
  164. MNP.  Microcom Network Protocols.  A set of modem-to-modem protocols that
  165.   provide <error correction> and <compression>.  The commonly encountered
  166.   ones are these:
  167.  
  168.   MNP2.  <Error correction> using <asynchronous> transmission.
  169.   MNP3.  <Error correction> using <synchronous> transmission between the
  170.     modems (the <DTE> interface is still <asynchronous>).  Since each
  171.     eight-bit byte takes eight rather than ten bits to transmit there is
  172.     scope for a 20% increase in throughput.  Unfortunately the MNP3
  173.     protocol overhead is rather high so this increase is not realised.
  174.   MNP4.  Introduces `data phase optimisation', which improves on the rather
  175.     inefficient protocol design of MNP2 and MNP3.  <Synchronous> MNP4 comes
  176.     closer to achieving the 20% throughput increase mentioned above.
  177.   MNP5.  Simple data compression.  Dynamically arranges for commonly
  178.     occurring characters to be transmitted with fewer bits than rare
  179.     characters.  It takes account of changing character frequencies as it
  180.     runs.  Also encodes long runs of the same character specially.  Typically
  181.     compresses text by 35%; with 20% for MNP4 this reduces data by almost
  182.     50%.
  183.  
  184. Modulation.  Converting a data stream into sounds to be sent down a phone
  185.   line.  The opposite is demodulation.  `Modem' stands for modulator/
  186.   demodulator.
  187.  
  188. Parallel.  Sending several bits at a time, usually 8, each over a separate
  189.   wire.  Some modems have a parallel connection from <DTE> to <DCE>.
  190.  
  191. PEP.  A proprietary <modulation> technique devised by Telebit and used in
  192.   their Trailblazer modems.  It can achieve throughput of 9600bps or
  193.   better, and is reported to be more resilient than <V.32>.  However, it is
  194.   <half duplex> with a long <turnaround time>, so for file transfer it
  195.   generally has to be used with protocol <spoofing>.  Trailblazers can
  196.   spoof <uucp>, Kermit, and Z-modem, among other things.
  197.  
  198. PTT.  General term for the national organisation(s) in charge of telephone
  199.   and postal communications.
  200.  
  201. RTS.  Request to send.  A signal from <DTE> to <DCE>.  In modern modems,
  202.   this is generally used for <flow control>; when RTS is off the modem will
  203.   not send data to the terminal.
  204.  
  205. Serial.  Sending one bit at a time.  Opposite of <parallel>.
  206.  
  207. Speed buffering.  Early modems had very simple hardware which modulated
  208.   data from the terminal directly onto the phone line.  This meant that the
  209.   terminal speed and the line speed had to be the same.  Modern modems
  210.   allow them to be different (speed buffering), but unfortunately the old
  211.   assumption is wired into many communications programs, so modems also
  212.   have to provide the ability to change the terminal speed to the same as
  213.   the line speed when a connection is established.
  214.  
  215. Spoofing.  Protocol spoofing is used by Trailblazers (see <PEP>).  The
  216.   modem knows what protocol you are using to transfer files to the far end.
  217.   It pretends to be the remote computer and acknowledges the local data as
  218.   soon as it gets them.  The two Trailblazers then conspire to get the data
  219.   safely to the far end.
  220.  
  221. Synchronous.  Used of a <serial> connection where bytes are sent in a
  222.   continuous stream.  Some sort of protocol is needed to flag the case
  223.   where no bytes are available to be sent.
  224.  
  225. Trailblazer.  See <PEP>.
  226.  
  227. Turnaround time.  The time taken in a <half duplex> link to reverse the
  228.   direction of communication.
  229.  
  230. uucp.  Unix-to-Unix copy.  This is the name of a Unix command, but it is
  231.   now also used to refer to the protocols used by it to transfer files
  232.   between Unix machines.  There are a number of such protocols, and the two
  233.   machines choose between the ones supported by each.  Free implementations
  234.   also exist for VMS and MS-DOS.  The newsgroup comp.mail.uucp may be more
  235.   appropriate for discussions.
  236.  
  237. V series.  A set of standards published by the <CCITT> for `Data
  238.   Communication over the Telephone Network'.  The following standards
  239.   describe the important <modulation> techniques:
  240.  
  241.   V.21: 300bps.
  242.   V.22: 1200bps, with <fall back> to 600bps.
  243.   V.22 bis: 2400bps, with <fall back> to V.22.
  244.   V.23: 1200bps with 75bps <back channel>, with <fall back> to 600bps/75bps.
  245.   V.29: 9600bps <half duplex> or <four wire> (used by FAX) with <fall back>
  246.     to 7200bps and 4800bps.
  247.   V.32: 9600bps with <fall back> to 4800bps.
  248.   V.32 bis: 14400bps with <fall back> to 12000bps, 9600bps, 7200bps and
  249.     4800 bps.
  250.  
  251.   Other standards you may encounter:
  252.  
  253.   V.24: connection between <DCE> and <DTE>.  Effectively the same as RS232,
  254.     though V.24 only specifies the meaning of the signals, not the
  255.     connector nor the voltages used.
  256.   V.25 bis: a cryptic command language for modems.
  257.   V.42: <error correction> with <asynchronous> to <synchronous> conversion.
  258.   V.42 bis: data <compression> using a Lempel-Ziv related technique, which
  259.     detects frequently occurring character strings and replaces them with
  260.     tokens.  This is similar to Unix compress.  Typical compression for
  261.     text is 50% or better; with nearly 20% gain from <synchronous>
  262.     conversion this gives reduces transmission time by almost 60%.
  263.  
  264. Window.  Most protocols divide the data to be sent into `packets'.
  265.   To eliminate delays several packets may be sent before any one is
  266.   acknowledged.  If this is allowed by a protocol, the window is the
  267.   number of packets that can be sent before an acknowledgement is
  268.   received.
  269.  
  270. XMODEM.  A primitive file-transfer protocol.  It has the property that
  271.   files must be a multiple of 128 bytes long.  It is <half duplex> so it
  272.   performs badly on fast modems.
  273.  
  274. XON/XOFF.  A method of <flow control>.  The XOFF character (ASCII 19) is
  275.   sent to stop further characters, and XON (ASCII 17) is sent to resume
  276.   them.  This method is inferior to hardware flow control using <RTS> and
  277.   <CTS>, since it means that XON and XOFF characters cannot be freely used
  278.   in the data.
  279.  
  280. ZMODEM.  A file-transfer protocol.
  281.  
  282.